package com.s10.ecloud.web.service;

import java.util.List;

import com.s10.ecloud.web.model.City;
import com.s10.ecloud.web.model.Province;
import com.s10.ecloud.web.model.District;

public interface ILocationService {

	public void addProvince(String name, String desc);
	
	public void addCity(int provinceId, String name, String desc);
	
	public void addRegion(int cityId, String name, String desc);
	
	public void deleteProvince(int provinceId);
	
	public void deleteCity(int cityId);
	
	public void deleteRegion(int regionId);
	
	public void updateProvince(Province province);
	
	public void updateCity(City city);
	
	public void updateRegion(District region);
	
	public List<Province> getProvinces();
	
	public List<City> getCities(int provinceId);
	
	public List<District> getRegions(int cityId);

}
